hvm ioemu: Fix SCSI initialisation after c/s 14942.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 26 Apr 2007 10:18:42 +0000 (11:18 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 26 Apr 2007 10:18:42 +0000 (11:18 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/ioemu/hw/pc.c

index 0a9cd0db35d3a85485e9bfbbf3f09e343fde6b92..952e4ee983ffad1501ff5dc360cf222fa400e549 100644 (file)
@@ -922,7 +922,7 @@ static void pc_init1(uint64_t ram_size, int vga_ram_size, char *boot_device,
 #endif
 #else
     if (pci_enabled) {
-        void *scsi;
+        void *scsi = NULL;
         for (i = 0; i < MAX_SCSI_DISKS ; i++) {
             if (!bs_table[i + MAX_DISKS])
                 continue;